<template>
	<view>
		<view class="bannerBox">
			<image :src="head_img"></image>
		</view>
		<view class="title">{{title}}</view>
		<view class="desc" v-html="content"></view>
	</view>
</template>

<script>
	import {dns} from '@/pages/dns.js'
	export default {
		data(){
			return {
				head_img: '',
				title: '',
				content: ''
			}
		},
		onLoad() {
			this.getflowList()
		},
		methods:{
			getflowList(){
				uni.request({
					method: 'GET',
					url: dns + 'matchprocess',
					success: (res)=>{
						if(res.data.status == 1){
							this.head_img = res.data.data.head_img;
							this.title = res.data.data.title;
							this.content = res.data.data.content
						}
					}
				})
			}
		}
	}
</script>

<style lang="scss">
	.bannerBox{
		width: 100%;
		height: 353upx;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.title{
		text-align: center;
		padding-top: 40upx;
		font-size: 36upx;
	}
	.desc{
		padding: 40upx 40upx;
		font-size: 24upx;
		text-indent: 2em;
	}
</style>
